﻿using System;
namespace YY.Model
{
	/// <summary>
	/// 代理商会员映射表
	/// </summary>
	[Serializable]
	public partial class agent_users_relationship
	{
		public agent_users_relationship()
		{}
		#region Model
		private int _id;
		private int? _agent_id;
		private Guid _member_id;
		private DateTime? _order_time= DateTime.Now;
		private DateTime? _registered_time= DateTime.Now;
		private DateTime? _installation_time= DateTime.Now;
		private DateTime? _server_record;
		/// <summary>
		/// 
		/// </summary>
		public int id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 代理商id 外建
		/// </summary>
		public int? agent_id
		{
			set{ _agent_id=value;}
			get{return _agent_id;}
		}
		/// <summary>
		/// 会员id 
		/// </summary>
		public Guid member_id
		{
			set{ _member_id=value;}
			get{return _member_id;}
		}
		/// <summary>
		/// 订单时间
		/// </summary>
		public DateTime? order_time
		{
			set{ _order_time=value;}
			get{return _order_time;}
		}
		/// <summary>
		/// 注册时间
		/// </summary>
		public DateTime? registered_time
		{
			set{ _registered_time=value;}
			get{return _registered_time;}
		}
		/// <summary>
		/// 安装时间
		/// </summary>
		public DateTime? installation_time
		{
			set{ _installation_time=value;}
			get{return _installation_time;}
		}
		/// <summary>
		/// 服务记录
		/// </summary>
		public DateTime? server_record
		{
			set{ _server_record=value;}
			get{return _server_record;}
		}
		#endregion Model

	}
}

